<?xml version="1.0" encoding="UTF-8"?>

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
     >
<ui:composition template="/templates/mainTemplate.xhtml">
    <ui:define name="pageContent">
        <h:panelGrid columns="2">
            <h:outputText value="User Name"/>
            <h:inputText value="#{userBean.userName}"/>
            <h:outputText value="Password"/>
            <h:inputText value="#{userBean.password}"/>
            <h:outputText value="Role"/>
            <h:inputText value="#{userBean.userRole}"/>
        </h:panelGrid>
        <h:commandButton ajax="false" action="#{userBean.insert}" value="Insert"/>

    </ui:define>

</ui:composition>


</html>